package JD_CAST_COL_MIGHT;

public class Vulnerable_01 {
    protected static final String NAME = "name";
    protected static final String ID = "id";
    private static final Map<String, Object> map = new HashMap<String, Object>();
    public void setInfo(String name, int id) {
        map.put(ID, new Integer(id));
        map.put(NAME, name);
    }
    public static getInfo() {
        Test test = new Test();
        test.setInfo("me", 1);
        Integer id = (Integer)map.get(ID));
        String name = (String)map.get(NAME));
    }
}
